package hcn.protocol.ods.newdiagnosis;/**
 * @Auther: Administrator
 * @Date: 2019/4/19 10:25
 * @Description:
 */

import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhusm@bsoft.com.cn
 *
 * @Description: 预结算返回金额参数
 *
 * @Create: 2019-04-19 10:25
 **/
@NoArgsConstructor
@Data
@Builder
@AllArgsConstructor
@ToString
public class NewGetPrecalculatedFeeRequestBean implements Serializable {
    private static final long serialVersionUID = -1588257871003803056L;


    /**
     * organizationId : 医院代码
     * patientId : 病人标识1物流配送  2到院自取
     * takeWay : 发药方式
     * address : 详细地址
     * consigneeName : 姓名
     * consigneePhone : 手机号
     * boilSign : 代煎标志0：不代煎1：代煎
     * feeRecords : [{"feeNo":"收费单据标识","feeTypeCode":"收费单据类型"}]
     */

    private String organizationId;
    private String patientId;
    private int takeWay;
    private String address;
    private String consigneeName;
    private String consigneePhone;
    private int boilSign;
    private List<FeeRecordsBean> feeRecords;

    @NoArgsConstructor
    @Data
    @Builder
    @AllArgsConstructor
    @ToString
    public static class FeeRecordsBean {
        /**
         * feeNo : 收费单据标识
         * voucherItemId : 4系公卫的收费项目id，抵用券核销的时候需要的
         * feeTypeCode : 收费单据类型代码
         * feeTypeCode : 收费单据类型名称
         */

        private String feeNo;
        private String voucherItemId;
        private String feeTypeCode;
        private String feeTypeName;
/*        List<PrescriptionDrugBean> prescriptionDrugList;

        @NoArgsConstructor
        @Data
        @Builder
        @AllArgsConstructor
        @ToString
        public static class PrescriptionDrugBean {
            private int itemType;
            private String itemCode;
            private String factoryId;
            private double drugDose;
            private String doseUnit;
            private int itemNumber;
            private int recipeNumber;
        }*/
    }
}
